<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="table-scrollable">
	<table class="table table-striped table-hover table-success">
		<thead>
			<tr>
				<th>#</th>
								<th>orderid</th>
				<th>orderitemid</th>
				<th>purchasedate</th>
				<th>paymentsdate</th>
				<th>buyeremail</th>
				<th>buyerphonenumber</th>
				<th>sku</th>
				<th>productname</th>
				<th>quantitypurchased</th>
				<th>currency</th>
				<th>itemprice</th>
				<th>itemtax</th>
				<th>shippingprice</th>
				<th>shippingtax</th>
				<th>shipservicelevel</th>
				<th>recipientname</th>
				<th>shipaddress1</th>
				<th>shipaddress2</th>
				<th>shipaddress3</th>
				<th>shipcity</th>
				<th>shipstate</th>
				<th>shippostalcode</th>
				<th>shipcountry</th>
				<th>shipphonenumber</th>
				<th>itempromotiondiscount</th>
				<th>itempromotionid</th>
				<th>shippromotiondiscount</th>
				<th>shippromotionid</th>
				<th>deliverystartdate</th>
				<th>deliveryenddate</th>
				<th>deliverytimezone</th>
				<th>deliveryinstructions</th>
				<th>saleschannel</th>
				<th>isbusinessorder</th>
				<th>purchaseordernumber</th>
				<th>pricedesignation</th>
				<th>isprime</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<c:forEach items="${page.result}" var="amazonorderslists" varStatus="vs">
			<tr>
				<td>${vs.count + page.offset}</td>
					<td>${amazonorderslists.orderid}</td>
					<td>${amazonorderslists.orderitemid}</td>
					<td>${amazonorderslists.purchasedate}</td>
					<td>${amazonorderslists.paymentsdate}</td>
					<td>${amazonorderslists.buyeremail}</td>
					<td>${amazonorderslists.buyerphonenumber}</td>
					<td>${amazonorderslists.sku}</td>
					<td>${amazonorderslists.productname}</td>
					<td>${amazonorderslists.quantitypurchased}</td>
					<td>${amazonorderslists.currency}</td>
					<td>${amazonorderslists.itemprice}</td>
					<td>${amazonorderslists.itemtax}</td>
					<td>${amazonorderslists.shippingprice}</td>
					<td>${amazonorderslists.shippingtax}</td>
					<td>${amazonorderslists.shipservicelevel}</td>
					<td>${amazonorderslists.recipientname}</td>
					<td>${amazonorderslists.shipaddress1}</td>
					<td>${amazonorderslists.shipaddress2}</td>
					<td>${amazonorderslists.shipaddress3}</td>
					<td>${amazonorderslists.shipcity}</td>
					<td>${amazonorderslists.shipstate}</td>
					<td>${amazonorderslists.shippostalcode}</td>
					<td>${amazonorderslists.shipcountry}</td>
					<td>${amazonorderslists.shipphonenumber}</td>
					<td>${amazonorderslists.itempromotiondiscount}</td>
					<td>${amazonorderslists.itempromotionid}</td>
					<td>${amazonorderslists.shippromotiondiscount}</td>
					<td>${amazonorderslists.shippromotionid}</td>
					<td>${amazonorderslists.deliverystartdate}</td>
					<td>${amazonorderslists.deliveryenddate}</td>
					<td>${amazonorderslists.deliverytimezone}</td>
					<td>${amazonorderslists.deliveryinstructions}</td>
					<td>${amazonorderslists.saleschannel}</td>
					<td>${amazonorderslists.isbusinessorder}</td>
					<td>${amazonorderslists.purchaseordernumber}</td>
					<td>${amazonorderslists.pricedesignation}</td>
					<td>${amazonorderslists.isprime}</td>
				<td>
					<a href="javascript:;" class="btn btn-sm blue" onclick="update('/amazonorderslists/amazonorderslists?id=${amazonorderslists.id}')">
						<i class="fa fa-edit"></i>编辑
					</a>
					<a href="javascript:;" class="btn btn-sm red" onclick="del('/amazonorderslists/delete?id=${amazonorderslists.id}')">
						<i class="fa fa-trash"></i>删除
					</a>
				</td>
			</tr>
			</c:forEach>
		</tbody>
	</table>
</div>
<div class="pageination-panel">${page}</div>